package com.yzy.soft.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;

/**
 * <p>
 * 
 * </p>
 *
 * @author yinzhiyuan
 * @since 2017-12-13
 */
public class Ldcode extends Model<Ldcode> {

    private static final long serialVersionUID = 1L;
	@TableId
	private String codetype;
	private String code;
	private String codename;
	private String codealias;
	private String comcode;
	private String othersign;


	public String getCodetype() {
		return codetype;
	}

	public void setCodetype(String codetype) {
		this.codetype = codetype;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCodename() {
		return codename;
	}

	public void setCodename(String codename) {
		this.codename = codename;
	}

	public String getCodealias() {
		return codealias;
	}

	public void setCodealias(String codealias) {
		this.codealias = codealias;
	}

	public String getComcode() {
		return comcode;
	}

	public void setComcode(String comcode) {
		this.comcode = comcode;
	}

	public String getOthersign() {
		return othersign;
	}

	public void setOthersign(String othersign) {
		this.othersign = othersign;
	}

	@Override
	protected Serializable pkVal() {
		return this.code;
	}

	@Override
	public String toString() {
		return "Ldcode{" +
			"codetype=" + codetype +
			", code=" + code +
			", codename=" + codename +
			", codealias=" + codealias +
			", comcode=" + comcode +
			", othersign=" + othersign +
			"}";
	}
}
